package cn.com.nes.site.controller.design;

import cn.com.nes.site.entity.PageData;
import cn.com.nes.site.entity.vo.design.HHousedesignVo;
import cn.com.nes.site.service.templatedesign.HHousedesignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 测试用
 */
@Controller
@RequestMapping("/v2/houses")
public class HouseOrdersDesignController {
	@Autowired
	private HHousedesignService hHousedesignService;
	
	@RequestMapping(value = "/ordersList",method = RequestMethod.POST)
	@ResponseBody
	public PageData ordersList(@RequestBody HHousedesignVo hHousedesignVo) {
		return hHousedesignService.ordersList(hHousedesignVo);
	}
}
